package com.example.query.dto;

import lombok.Data;

import java.util.List;

@Data
public class QueryCondition {
    private String field;
    private String operator;  // EQ, NE, GT, LT, GE, LE, LIKE, IN
    private Object value;
    private String logicalOperator = "AND";  // AND, OR
    private List<QueryCondition> nestedConditions; // 支持嵌套条件


} 